//06_Function concept //parc_04 //wap to print addtion in function #include #include float add(float x,float y) { float c; c=x+y; return c; } void main() { float a,b,ans; clrscr(); printf("Enter 1st number:"); scanf("%f",&a); printf("Enter 2nd number:"); scanf("%f",&b); ans=add(a,b); printf("Addtion=%f",ans); getch(); } /* ------output------ Enter 1st number:4 Enter 2nd number:4 Addtion=8 */